/*
 * @Author: shijianxin
 * @Date: 2022-04-15 16:40:35
 * @Description: 数据库
 */

import Mongoose from "mongoose";
import MovieModel from "./MovieSchema";

Mongoose.connect("mongodb://localhost:27017/moviedb").then(() =>
  console.log("连接数据库成功")
);

export { MovieModel };
